package ee.mtiidla.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

/**
 * Created by Marko on 12.10.2014.
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class RelayPosition {

	@XmlAttribute(name = "athleteid")
	private long athleteId;

	@XmlAttribute(name = "number")
	private int number;

	@XmlAttribute(name = "reactiontime")
	private String reactionTime;

	@XmlAttribute(name = "status")
	private String status;

	@XmlElement(name = "ATHLETE")
	private Athlete athlete;

	@XmlElement(name = "MEETINFO")
	private MeetInfo meetInfo;

	public long getAthleteId() {
		return athleteId;
	}

	public void setAthleteId(long athleteId) {
		this.athleteId = athleteId;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getReactionTime() {
		return reactionTime;
	}

	public void setReactionTime(String reactionTime) {
		this.reactionTime = reactionTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Athlete getAthlete() {
		return athlete;
	}

	public void setAthlete(Athlete athlete) {
		this.athlete = athlete;
	}

	public MeetInfo getMeetInfo() {
		return meetInfo;
	}

	public void setMeetInfo(MeetInfo meetInfo) {
		this.meetInfo = meetInfo;
	}
}
